<template>
  <el-radio-group v-model="radio">
    <el-radio :label="3">我的代办</el-radio>
    <el-radio :label="6">我的已办</el-radio>
  </el-radio-group>
  
  <el-table :data="tableData" style="width: 100%">
      <el-table-column fixed prop="Date" label="合同" width="150" />
      <el-table-column prop="name" label="起草人" width="120" />
      <el-table-column prop="state" label="负责人" width="120" />
      <el-table-column prop="city" label="合同类型" width="120" />
      <el-table-column prop="address" label="合同编号" width="600" />
      <el-table-column prop="zip" label="经办人" width="120" />
      <el-table-column fixed="right" label="合同金额" width="120">
        <template #default>
          <el-button link type="primary" size="small" @click="handleClick"
            >Detail</el-button
          >
          <el-button link type="primary" size="small">Edit</el-button>
		  </template>
		      </el-table-column>
		    </el-table>
			
		<el-button size="large">审批同意</el-button>
		<el-button size="large">审批待定</el-button>
		<el-button size="large">拒绝审批</el-button>
</template>
		

<script  setup>
import { ref } from 'vue'

const radio = ref(3)
const handleClick = () => {
  console.log('click')
}

const tableData = [
  {
    date: '5',
    name: 'Tom',
    state: 'California',
    city: 'Los Angeles',
    address: 'No. 189, Grove St, Los Angeles',
    zip: 'CA 90036',
    tag: 'Home',
  },
  {
    date: '2016-05-02',
    name: 'Tom',
    state: 'California',
    city: 'Los Angeles',
    address: 'No. 189, Grove St, Los Angeles',
    zip: 'CA 90036',
    tag: 'Office',
  },
  {
    date: '2016-05-04',
    name: 'Tom',
    state: 'California',
    city: 'Los Angeles',
    address: 'No. 189, Grove St, Los Angeles',
    zip: 'CA 90036',
    tag: 'Home',
  },
  {
    date: '2016-05-01',
    name: 'Tom',
    state: 'California',
    city: 'Los Angeles',
    address: 'No. 189, Grove St, Los Angeles',
    zip: 'CA 90036',
    tag: 'Office',
  },
]

</script>


